#ifndef JSONUTILS_H
#define JSONUTILS_H

#include <QFile>
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonDocument>

#include "project_global.h"

class PROJECT_EXPORT JsonUtils
{
public:
    JsonUtils();

    static QString jObjToString(QJsonObject& jObj);
    static bool strTojObj(QString& str, QJsonObject& jObj);
    static bool readJsonFile(QJsonObject& jObj,  QString path);
};

#endif // JSONUTILS_H
